
use "/Users/scottfabramson/Dropbox/io_endogenous_replication/main_text_do/tables/table_5/table_5.dta",clear


**** Table 5 *****


tsset Name Year



***** Left Panel ****

reg mean_parl lUD, cluster(Name), if y7==0



reg mean_parl lUD r* y*, cluster(Name), if y7==0





xtreg mean_parl lUD, fe cluster(Name), if y7==0



xtreg mean_parl lUD y*, fe cluster(Name), if y7==0





***** Right Panel ****



reg lUD l.mean_parl, cluster(Name)




reg lUD l.mean_parl r1 r2 r3 r4 r5 r6  y1 y2 y3 y4 y5 y6 y7, cluster(Name)




reg lUD  l.lUD l.mean_parl r1 r2 r3 r4 r5 r6  y1 y2 y3 y4 y5 y6 y7, cluster(Name)




xtreg lUD  l.mean_parl , fe cluster(Name)


xtreg lUD  l.mean_parl   y1 y2 y3 y4 y5 y6 y7, fe cluster(Name)




xtdpdsys lUD l.mean_parl y2 y3 y4 y5 y6,  lag(1) two vce(robust)

estat abond




